 <#include "/common/pagerForm.html">
<form rel="pagerForm" method="post" action="" onsubmit="return navTabSearch(this)">
	<div class="pageHeader">
		<div class="searchBar">
			<ul class="searchContent">
				<li><label><@label key="distributionTriggerModeCode.C,colon">策略编号：</@label></label> <input type="text" name="distributionTriggerModeCode" value="${condition.distributionTriggerModeCode!''}" /></li>
				<li><label><@label key="distributionTriggerModeText.C,colon">策略描述：</@label></label> <input type="text" name="distributionTriggerModeText" value="${condition.distributionTriggerModeText!''}" /></li>
				<li><label><@label key="lockFlag.L">锁定标记：</@label></label> <select name="lockFlag">
						<option value=-1><@label key="all.C">所有</@label></option>
						<option value="0"<#if condition.lockFlag?? && condition.lockFlag == 0> selected="selected"</#if>><@label key="no.C">否</@label></option>
						<option value="1"<#if condition.lockFlag?? && condition.lockFlag == 1> selected="selected"</#if>><@label key="yes.C">是</@label></option>
				</select></li>
				<li style="width: 150px;">
					<div class="buttonActive">
						<div class="buttonContent">
							<button id="st" type="submit"><@label key="query.B">查询</@label></button>
						</div>
					</div>
				</li>

			</ul>
		</div>
	</div>
</form>

<div class="pageContent">

	<div class="panelBar">
		<ul class="toolBar">
			<@buttonRight menuCode="DISTRIBUTIONTRIGGERMODE_ADD" labelKey="add.B" defalutName="新增">
			<li><a class="add" target="dialog" mask="true" width="350" height="200" href="${rc.getContextPath()}/manage/distributionTriggerMode/addDistributionTriggerMode?navTabId=${navTabId!''}" rel="addMaterial" title="<@label key="addDistributionTriggerMode.C">新增配送需求触发策略</@label>"><span><@label key="add.B">新增</@label></span>
			</a></li> </@buttonRight> <@buttonRight menuCode="DISTRIBUTIONTRIGGERMODE_EDIT" labelKey="edit.B" defalutName="编辑">
			<li><a class="edit" target="dialog" mask="true" width="400" height="270" href="${rc.getContextPath()}/manage/distributionTriggerMode/editDistributionTriggerMode?id={distributionTriggerMode_code}&navTabId=${navTabId!''}" rel="modifyMaterial" title="<@label key="editDistributionTriggerMode.C">编辑配送需求触发策略</@label>"><span><@label key="edit.B">编辑</@label></span>
			</a></li> </@buttonRight> <@buttonRight menuCode="DISTRIBUTIONTRIGGERMODE_VIEW" labelKey="view.B" defalutName="详情">
			<li><a class="icon" target="dialog" mask="true" width="400" height="270" href="${rc.getContextPath()}/manage/distributionTriggerMode/viewDistributionTriggerMode?id={distributionTriggerMode_code}&navTabId=${navTabId!''}" rel="viewMaterial" title="<@label key="viewDistributionTriggerMode.C">配送需求触发策略详情</@label>"><span><@label key="view.B">详情</@label></span>
			</a></li> </@buttonRight> <@buttonRight menuCode="DISTRIBUTIONTRIGGERMODE_DEL" labelKey="delete.B" defalutName="删除">
			<li><a class="delete" target="selectedTodo" postType="string" rel="ids" href="${rc.getContextPath()}/manage/distributionTriggerMode/deleteDistributionTriggerMode?navTabId=${navTabId!''}" callback="batchjobAjaxDone" title="<@label key="delDistributionTriggerMode.M">确认要删除选中的配送需求触发策略吗？</@label>"><span><@label key="delete.B">删除</@label></span>
			</a></li> </@buttonRight>
		</ul>
	</div>
	<table class="table" width="100%" layoutH="134">
		<thead>
			<tr>
				<th width="22"><input type="checkbox" group="ids" class="checkboxCtrl"></th>
				<th width="30"><@label key="serialNumber.C">序号</@label></th>
				<th width="100"><@label key="distributionTriggerModeCode.C">策略编号</@label></th>
				<th width="100"><@label key="distributionTriggerModeText.C">策略描述</@label></th>
				<th width="50" ><@label key="lockFlag.C">锁定标记</@label></th>
				<th width="100"><@label key="createUser.C">创建人</@label></th>
				<th width="100"><@label key="createDateTime.C">创建时间</@label></th>
				<th width="100"><@label key="modifyUser.C">修改人</@label></th>
				<th width="100"><@label key="modifyDateTime.C">修改时间</@label></th>
			</tr>
		</thead>
		<tbody>
			<#if page??><#if (page.data?size>0)> <#list page.data as mode>
			<tr target="distributionTriggerMode_code" rel="${mode.distributionTriggerModeCode!''}">
				<td><input name="ids" value="${mode.distributionTriggerModeCode!''}" type="checkbox"></td>
				<td>${page.startRow + supplier_index}</td>
				<td>${mode.distributionTriggerModeCode!''}</td>
				<td>${mode.distributionTriggerModeText!''}</td>
				<td><#if (mode.lockFlag == 1)><@label key="yes.C">是</@label><#else><@label key="no.C">否</@label></#if></td>
				<td>${mode.createUser!''}</td>
				<td>${(mode.createDateTime?string("yyyy-MM-dd HH:mm:ss"))?if_exists}</td>
				<td>${mode.modifyUser!''}</td>
				<td>${(mode.modifyDateTime?string("yyyy-MM-dd HH:mm:ss"))?if_exists}</td>
			</tr>
			</#list> <#else>
			<tr target="distributionTriggerMode_code">
				<td colspan="6" class="noData">======<@label key="noListData.C">列表无数据</@label>=====</td>
			</tr>
			</#if> <#else>
			<tr target="distributionTriggerMode_code">
				<td colspan="6" class="noData">======<@label key="noListData.C">列表无数据</@label>=====</td>
			</tr>
			</#if>
		</tbody>
	</table>
	<#include "/common/panelBar.html">
</div>